package cn.edu.sdjzu.xg.eagle.dao;

import cn.edu.sdjzu.xg.eagle.entity.Department;


import java.sql.Connection;
import java.sql.SQLException;

public interface DepartmentDaoInterface {
    Department find(Long id) throws SQLException;
    void add(Department department) throws SQLException;
    boolean delete(Long id) throws SQLException;
    boolean update(Connection connection, Department department) throws SQLException;
    boolean delete (Department department) throws SQLException;
}
